package com.tudouji.project.mt.http.response;

import com.google.gson.annotations.SerializedName;
import lombok.Data;

import java.util.ArrayList;

@Data
public class PoiStockInItemResponse {
    @SerializedName("items")
    private ArrayList<Whin> items;

    @SerializedName("page")
    private Page page;

    @Data
    public class Page {
        private Integer pageNo;
        private Integer pageSize;
        private Long totalCount;
        private Long totalPageSize;
    }

    @Data
    public class Whin{

        /**
         * rootOrgId : 1000
         * itemSn : example
         * bizTime : 1000
         * org : {"rootOrgId":1000,"orgId":1000,"code":"example","name":"example"}
         * belongOrg : {"rootOrgId":1000,"orgId":1000,"code":"example","name":"example"}
         * warehouse : {"id":"example","code":"example","name":"example"}
         * oppositeOrg : {"type":{"id":1,"name":"example"},"code":"example","name":"example"}
         * status : {"id":1,"name":"example"}
         * remark : example
         * type : {"id":1,"name":"example"}
         * sourceSn : example
         * createdTime : 1000
         * stockMoney : example
         * money : example
         * tax : example
         * noTaxMoney : example
         * modifyTime : 1000
         * version : 1
         * thirdRelatedSn : example
         */

        private int rootOrgId;
        private String itemSn;
        private Long bizTime;
        private OrgBean org;
        private BelongOrgBean belongOrg;
        private WarehouseBean warehouse;
        private OppositeOrgBean oppositeOrg;
        private StatusBean status;
        private String remark;
        private TypeBeanX type;
        private String sourceSn;
        private Long createdTime;
        private String stockMoney;
        private String money;
        private String tax;
        private String noTaxMoney;
        private Long modifyTime;
        private int version;
        private String thirdRelatedSn;

        public int getRootOrgId() {
            return rootOrgId;
        }

        public void setRootOrgId(int rootOrgId) {
            this.rootOrgId = rootOrgId;
        }

        public String getItemSn() {
            return itemSn;
        }

        public void setItemSn(String itemSn) {
            this.itemSn = itemSn;
        }

        public Long getBizTime() {
            return bizTime;
        }

        public void setBizTime(Long bizTime) {
            this.bizTime = bizTime;
        }

        public OrgBean getOrg() {
            return org;
        }

        public void setOrg(OrgBean org) {
            this.org = org;
        }

        public BelongOrgBean getBelongOrg() {
            return belongOrg;
        }

        public void setBelongOrg(BelongOrgBean belongOrg) {
            this.belongOrg = belongOrg;
        }

        public WarehouseBean getWarehouse() {
            return warehouse;
        }

        public void setWarehouse(WarehouseBean warehouse) {
            this.warehouse = warehouse;
        }

        public OppositeOrgBean getOppositeOrg() {
            return oppositeOrg;
        }

        public void setOppositeOrg(OppositeOrgBean oppositeOrg) {
            this.oppositeOrg = oppositeOrg;
        }

        public StatusBean getStatus() {
            return status;
        }

        public void setStatus(StatusBean status) {
            this.status = status;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public TypeBeanX getType() {
            return type;
        }

        public void setType(TypeBeanX type) {
            this.type = type;
        }

        public String getSourceSn() {
            return sourceSn;
        }

        public void setSourceSn(String sourceSn) {
            this.sourceSn = sourceSn;
        }

        public Long getCreatedTime() {
            return createdTime;
        }

        public void setCreatedTime(Long createdTime) {
            this.createdTime = createdTime;
        }

        public String getStockMoney() {
            return stockMoney;
        }

        public void setStockMoney(String stockMoney) {
            this.stockMoney = stockMoney;
        }

        public String getMoney() {
            return money;
        }

        public void setMoney(String money) {
            this.money = money;
        }

        public String getTax() {
            return tax;
        }

        public void setTax(String tax) {
            this.tax = tax;
        }

        public String getNoTaxMoney() {
            return noTaxMoney;
        }

        public void setNoTaxMoney(String noTaxMoney) {
            this.noTaxMoney = noTaxMoney;
        }

        public Long getModifyTime() {
            return modifyTime;
        }

        public void setModifyTime(Long modifyTime) {
            this.modifyTime = modifyTime;
        }

        public int getVersion() {
            return version;
        }

        public void setVersion(int version) {
            this.version = version;
        }

        public String getThirdRelatedSn() {
            return thirdRelatedSn;
        }

        public void setThirdRelatedSn(String thirdRelatedSn) {
            this.thirdRelatedSn = thirdRelatedSn;
        }

        public class OrgBean {
            /**
             * rootOrgId : 1000
             * orgId : 1000
             * code : example
             * name : example
             */

            private int rootOrgId;
            private int orgId;
            private String code;
            private String name;

            public int getRootOrgId() {
                return rootOrgId;
            }

            public void setRootOrgId(int rootOrgId) {
                this.rootOrgId = rootOrgId;
            }

            public int getOrgId() {
                return orgId;
            }

            public void setOrgId(int orgId) {
                this.orgId = orgId;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

        public class BelongOrgBean {
            /**
             * rootOrgId : 1000
             * orgId : 1000
             * code : example
             * name : example
             */

            private int rootOrgId;
            private int orgId;
            private String code;
            private String name;

            public int getRootOrgId() {
                return rootOrgId;
            }

            public void setRootOrgId(int rootOrgId) {
                this.rootOrgId = rootOrgId;
            }

            public int getOrgId() {
                return orgId;
            }

            public void setOrgId(int orgId) {
                this.orgId = orgId;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

        public class WarehouseBean {
            /**
             * id : example
             * code : example
             * name : example
             */

            private String id;
            private String code;
            private String name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

        public class OppositeOrgBean {
            /**
             * type : {"id":1,"name":"example"}
             * code : example
             * name : example
             */

            private TypeBean type;
            private String code;
            private String name;

            public TypeBean getType() {
                return type;
            }

            public void setType(TypeBean type) {
                this.type = type;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public class TypeBean {
                /**
                 * id : 1
                 * name : example
                 */

                private int id;
                private String name;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }
        }

        public class StatusBean {
            /**
             * id : 1
             * name : example
             */

            private int id;
            private String name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

        public class TypeBeanX {
            /**
             * id : 1
             * name : example
             */

            private int id;
            private String name;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
